In addition to having Dreamweaver update links automatically whenever you move or rename a file, you can manually change all links (including mailto, FTP, null, and script links) to point somewhere else. You can use this option at any time (for example, you might have the words "this month's movies" linked to /movies/july.html throughout your site, and on August 1 you must change those links to point to /movies/august.html), but it's particularly useful when you want to delete a file that other files link to.
To change a link sitewide:
1 | Select a file in the Local pane of the Site window. |
2 | Choose Site > Change Link Sitewide. |
3 | In the dialog box that appears, click the folder icon to browse to and select a file, or in the Into Links To field, type the path and file name of a new file to link to. |
4 | Click OK. |
Dreamweaver updates any documents that link to the selected file, making them point to the new file, using the path format that exists in the document (for example, if the old path was document relative, the new path is also document relative). | |
![]() |
After a link is changed sitewide, the selected file becomes an orphan (that is, no files on your local drive point to it). You can safely delete it without breaking any links at your local site.
Note: Remember that because all changes are occurring locally, you will need to manually delete the corresponding file on the remote site and put or check in any files in which links were changed before visitors to your site will be able to see the changes.
To change e-mail, FTP, null, or script links sitewide:
1 | Open the site map. |
2 | Choose Site > Change Link Sitewide. |
3 | In the Change Link Sitewide dialog box, enter the following information: |
![]() |
In the Change All Links To field, type the full name of the link you are changing. |
![]() |
In the Into Links To field, type the full name of the link you want to replace the link with. |
4 | Click OK. |
![]() |
For example, to update all the e-mail links that point to your old address, you might type mailto:juser@isp.com in the Change All Links To box, and type mailto:juser-interface@isp.com in the Into Links To box.